-- GENERATED SPELL FOR [Corrupted Surf Crawler] --


function spell0_3228(pUnit, Event) --@Decayed Strength,n/a--
pUnit:FullCastSpellOnTarget(6951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3228', 2000, 1)
end

function Sorts_3228(pUnit, Event)
local choix_sorts_3228 = math.random(0, 0)
if choix_sorts_3228 == 0 then
pUnit:RegisterEvent('spell0_3228', 1, 1)
end
end

function mob3228_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3228', math.random(1500, 3000), 1)
end

function mob3228_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3228_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3228_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3228, 1, 'mob3228_Action')
RegisterUnitEvent(3228, 2, 'mob3228_Leave')
RegisterUnitEvent(3228, 3, 'mob3228_Kill')
RegisterUnitEvent(3228, 4, 'mob3228_Die')
